/*
 * Test_Board.h
 *
 *  Created on: Mar 31, 2014
 *      Author: zby
 */

#ifndef TEST_BOARD_H_
#define TEST_BOARD_H_


#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/CompilerOutputter.h>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/TestSuite.h>
#include <cppunit/Test.h>
#include <cppunit/TestResult.h>
#include <cppunit/TestResultCollector.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestAssert.h>
#include <cppunit/TestResultCollector.h>
#include <cppunit/TestRunner.h>
#include <cppunit/BriefTestProgressListener.h>
#include <cppunit/CompilerOutputter.h>
#include <cppunit/XmlOutputter.h>
//-------------------------------
#include "Board.h"


class Test_Board: public CppUnit::TestFixture
{
    private:
        board::Board *b1;
        board::Board *b2;
    public:
        void setUp()
        {
            b1 = new board::Board(7);
            b2 = new board::Board(7);
        }

        Test_Board(){};
        ~Test_Board(){};
        void test_def_constructor(void);
        void test_def_constructor_cpy(void);
        void test_put_move(void);
        void test_friend_op(void);

        static CppUnit::Test* suite();

        void tearDown()
        {
            delete b1;
            delete b2;
        }
};

#endif /* TEST_BOARD_H_ */
